package com.imooc.bilibili.mapper.video;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.bilibili.domain.video.VideoComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 视频评论表 Mapper 接口
 * </p>
 *
 * @author gcq
 * @since 2022-06-04
 */
public interface VideoCommentMapper extends BaseMapper<VideoComment> {

    /**
     * 根据rootId批量查询
     * @param parentIdList
     * @return
     */
    List<VideoComment> batchGetVideoCommentByRootIds(@Param("parentIdList") List<Long> parentIdList);
}
